namespace WPS.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("FileInfo")]
    public partial class WPSFileInfo
    {
        [StringLength(50)]
        public string ID { get; set; }

        [StringLength(50)]
        public string NAME { get; set; }

        public long SIZE { get; set; }

        public int VERSION { get; set; }

        [StringLength(50)]
        public string CREATOR { get; set; }

        public DateTime? CREATE_DATE { get; set; }

        [StringLength(50)]
        public string EDITOR { get; set; }

        public DateTime? EDIT_DATE { get; set; }

        [StringLength(500)]
        public string DOWNLOAD_URL { get; set; }

        [Column(TypeName = "timestamp")]
        [MaxLength(8)]
        [Timestamp]
        public byte[] TIME_STAMP { get; set; }
    }
}
